package com.kt.emall.product.dao;

import com.kt.emall.product.entity.AttrGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kt.emall.product.vo.SkuItemVO;
import com.kt.emall.product.vo.SpuItemAttrsGroupVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 *
 * @author KamTeng
 * @email kamteng1998@qq.com
 * @date 2021-06-14 17:51:44
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<SpuItemAttrsGroupVO> getAttrGroupWithAttrsBySpuId(@Param("spuId") Long spuId, @Param("catelogId") Long catelogId);
}
